package java51_20;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class TestCalendar {

	public static void main(String[] args) {
		Calendar c = Calendar.getInstance();
		SimpleDateFormat f = new SimpleDateFormat();
		c.set(Calendar.HOUR, 8);
		for (int i = 0; i <= 11; i++) {
			c.set(Calendar.MONTH, i);
			c.set(Calendar.DAY_OF_MONTH, 1);
			c.set(Calendar.DAY_OF_WEEK, 7);
			c.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1);
			System.out.println(f.format(c.getTime()));
		}

	}

}
